Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents

Unknown Binary

Labels

ASCII
UnknownBinary
Binary
ukbn ( = 0x756B626E )

Data Format

Int32               objectType
Uns32               objectSize
EndianEnum          byteOrder
RawData             objectData[objectSize]
objectType
The binary representation of the type of the unknown object.
objectSize
The size of the unknown object.
byteOrder
The byte order of the unknown object. The information in this field is needed to transport unknown data between processors and permits parsing endian-specific primitives contained in the object data:
0x00000000 = BigEndian 0x00000001 = LittleEndian
objectData[]
The specification of the unknown object in the form of raw data.

Data Size

12 + sizeof(objectData)

Description

An unknown binary object is used to transport unknown data found in a binary file. It is an encapsulated replica of that unknown data. In the usual case, an unknown binary object contains an ill-formed object specification. Your file reading program may be designed to transport the data contained in an unknown text object, to validate and convert the data to a specification of a known object, or to discard the data.

An unknown binary object may occur in a text file as well as in a binary file.

Parent Hierarchy

Shared, shape.

Parent Objects

None.

Child Objects

None.

Example

UnknownBinary (
    1701605476
    4
    BigEndian
    0x0AB2
)

 


© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents